﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Report.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	BasicRequirementReport
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Basic Requirements Report</h1>

    <br />
    <table class="data-table">
        <thead>
            <tr>
                <th>
                    Requirement Name
                </th>
                <th>
                    Requirement Type
                </th>
                <th>
                    Asset Type
                </th>
                <th>
                    Frequency
                </th>
                <th>
                    Created
                </th>
                <th>
                    Created By
                </th>
                <th>
                    Measures
                </th>
            </tr>
        </thead>
        <tbody>
            <% For Each item In ViewData("Requirements")%>
            <tr>
                <td width="20%">
                    <%: item.Name%>
                </td>
                <td width="10%">
                    <%: item.RequirementTypeDescription%>
                </td>
                <td width="10%">
                    <%: item.AssetTypeDescription%>
                </td>
                <td width="10%">
                    <%: item.FrequencyDescription%>
                </td>
                <td width="15%">
                    <%: item.FormatedCreatedDate%>
                </td>
                <td width="10%">
                    <%: item.CreatedByUserFullName%>
                </td>
                <td width="25%">
                    <%: item.MeasureDescriptions%>
                </td>
            </tr>
            <% Next%>
        </tbody>
    </table>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FormContent" runat="server">
    <%= Html.Hidden("AssetTypeID", ViewData("AssetTypeID"))%>
    <%= Html.Hidden("Frequency", ViewData("Frequency"))%>
</asp:Content>
